PgSqlArray Constructor(PgSqlType,Int32,Int32[])
Initializes a new instance of the
PgSqlArray class with the specified element type and dimensions.
This sample creates two-dimensional array with three sub-arrays, each has two elements. String representation of array that can be received with the ToString method will be the following:
{{NULL,NULL},{NULL,NULL},{NULL,NULL}}
PgSqlArray arr = new PgSqlArray(PgSqlType.Int, 2,3,2);
Console.Write(arr);
Dim arr As PgSqlArray = New PgSqlArray(PgSqlType.Int, 2, 3, 2)
Console.Write(arr)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2